//package com.colin.app.activity.other.recycler;
//
//import android.content.Context;
//import android.widget.ImageView;
//
//import com.colin.app.R;
//import com.colin.app.bean.ItemBean;
//import com.colin.library.base.BaseRecyclerAdapter;
//import com.colin.library.base.BaseViewHolder;
//import com.colin.library.help.ImageLoader;
//
//import java.util.List;
//
///**
// * Created by Administrator on 2017/9/15.
// */
//
//public class ItemBeanRecyclerViewAdapter extends BaseRecyclerAdapter<ItemBean> {
//    public ItemBeanRecyclerViewAdapter(Context context, List<ItemBean> itemList) {
//        super(context, itemList);
//    }
//
//    @Override
//    protected int bindLayoutRes(int viewType) {
//        return R.layout.item_itembean_list;
//    }
//
//    @Override
//    public void onBindViewHolder(BaseViewHolder holder, int position) {
//        int viewType = getItemViewType(position);
//        if (viewType == VIEW_TYPE_EMPTY) {
//
//        } else if (viewType == VIEW_TYPE_MORE) {
//
//        } else {
//            ItemBean itemBean = mItemList.get(position);
//            ImageView view = holder.getView(R.id.image_itembean_background);
//            ImageLoader.getInstance().loadImageByGlide(view, itemBean.getImageLarge());
//            holder.setText(R.id.text_itembean_title, itemBean.getTitle());
//        }
//    }
//}
